30,000 more troops to the country in a move which appeared to quell the insurgency there . An expert in counter - insurgency , he was made director of the CIA by Barack Obama in 2011 . He resigned , however , in November 2012 after it was reported that he had had an affair with his biographer Paula Broadwell .